Skip to content

daca: filter checker results when there are syntaxError/unknownMacro/etc#5214

Merged
danmar merged 1 commit into
mainfrom
daca-filter
Jul 4, 2023
Merged

daca: filter checker results when there are syntaxError/unknownMacro/etc#5214
danmar merged 1 commit into
mainfrom
daca-filter

Conversation

@danmar
Copy link
Copy Markdown
Collaborator

@danmar danmar commented Jul 1, 2023

No description provided.

@danmar danmar merged commit 7ff58da into main Jul 4, 2023
@danmar danmar deleted the daca-filter branch July 4, 2023 11:23
@firewave
Copy link
Copy Markdown
Collaborator

What is this change trying to solve?

As these warnings are quite common in daca this leads to incomplete or even empty diffs, which is bad - see https://trac.cppcheck.net/ticket/12099.

firewave added a commit to firewave/cppcheck that referenced this pull request Oct 23, 2023
firewave added a commit to firewave/cppcheck that referenced this pull request Oct 23, 2023
@chrchr-github
Copy link
Copy Markdown
Collaborator

I guess the idea was that (resolved) critical errors should not cause diff changes for other error IDs?

@firewave
Copy link
Copy Markdown
Collaborator

I guess the idea was that (resolved) critical errors should not cause diff changes for other error IDs?

Probably - but the warnings are not global but per file. And they could originate from a header only.

I think handling this (if it would actually work properly) would be rather complex and would not give much of an upside. We are not that deep into daca all the time.

firewave added a commit to firewave/cppcheck that referenced this pull request Oct 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants